<?php
require_once '../Model/Game/OPGame.php';

class GameScenarioTest extends PHPUnit_Framework_Testcase {
	
	public function setUp() {
		$this->game = OPGame::newGame();
		
	}
	
	/**
	 *  @test
	 */
	public function gameShouldHaveFactions(){
		$this->assertNotNull($this->game->rebelsFaction());
		$this->assertNotNull($this->game->oppressorsFaction());
				
	}
	
	/**
	 * @test
	 */
	public function gameShouldHaveSafeHavens(){
		$this->assertNotNull($this->game->safeHavens());
		
	}
	
	/**
	 * @test
	 */
	public function safeHaven1ShouldReturnSafeHavenWithId1() {
		$this->assertEquals(1, $this->game->safeHaven(1)->id());
		
	}
	
	
}